package com.nf.pojo;

/**
 * ClossName:Product
 * Pakage:com.nf.pojo
 * Description
 *
 * @Author L
 * @Create 2023/11/29 22:36
 * @Version 2023.1.3
 */
public class Product {
    /*
        #--商品ID
     */
    private int goodsId ;
    /*
       #商品名称
     */
   private String goodsName ;
    /*
      #商品图片
     */
    private String goodsImage ;
    /*
       #商品价格 > 0
     */
    private Double goodsPrice ;
    /*
      #商品类型
     */
    private String goodsType ;
    /*
        #商品规格
     */
    private String goodsSpecification ;


    public Product() {
    }

    public Product(int goodsId, String goodsName, String goodsImage, Double goodsPrice, String goodsType, String goodsSpecification) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.goodsImage = goodsImage;
        this.goodsPrice = goodsPrice;
        this.goodsType = goodsType;
        this.goodsSpecification = goodsSpecification;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsSpecification() {
        return goodsSpecification;
    }

    public void setGoodsSpecification(String goodsSpecification) {
        this.goodsSpecification = goodsSpecification;
    }

    @Override
    public String toString() {
        return "Product{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsImage='" + goodsImage + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsType='" + goodsType + '\'' +
                ", goodsSpecification='" + goodsSpecification + '\'' +
                '}';
    }
}
